home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / drdobbs / 1992 / 06 / dflt12 / keys.c < prev    next >
Text File  |  1992-01-27  |  2KB  |  85 lines

  1. /* ------------- keys.c ----------- */
  2.  
  3. #include <stdio.h>
  4. #include "keys.h"
  5.  
  6. struct keys keys[] = {
  7.     {F1,        "F1"},
  8.     {F2,        "F2"},
  9.     {F3,        "F3"},
  10.     {F4,        "F4"},
  11.     {F5,        "F5"},
  12.     {F6,        "F6"},
  13.     {F7,        "F7"},
  14.     {F8,        "F8"},
  15.     {F9,        "F9"},
  16.     {F10,        "F10"},
  17.     {CTRL_F1,    "Ctrl+F1"},
  18.     {CTRL_F2,    "Ctrl+F2"},
  19.     {CTRL_F3,    "Ctrl+F3"},
  20.     {CTRL_F4,    "Ctrl+F4"},
  21.     {CTRL_F5,    "Ctrl+F5"},
  22.     {CTRL_F6,    "Ctrl+F6"},
  23.     {CTRL_F7,    "Ctrl+F7"},
  24.     {CTRL_F8,    "Ctrl+F8"},
  25.     {CTRL_F9,    "Ctrl+F9"},
  26.     {CTRL_F10,    "Ctrl+F10"},
  27.     {ALT_F1,    "Alt+F1"},
  28.     {ALT_F2,    "Alt+F2"},
  29.     {ALT_F3,    "Alt+F3"},
  30.     {ALT_F4,    "Alt+F4"},
  31.     {ALT_F5,    "Alt+F5"},
  32.     {ALT_F6,    "Alt+F6"},
  33.     {ALT_F7,    "Alt+F7"},
  34.     {ALT_F8,    "Alt+F8"},
  35.     {ALT_F9,    "Alt+F9"},
  36.     {ALT_F10,    "Alt+F10"},
  37.     {HOME,        "Home"},
  38.     {UP,        "Up"},
  39.     {PGUP,        "PgUp"},
  40.     {BS,        "BS"},
  41.     {END,        "End"},
  42.     {DN,        "Dn"},
  43.     {PGDN,        "PgDn"},
  44.     {INS,        "Ins"},
  45.     {DEL,        "Del"},
  46.     {CTRL_HOME,    "Ctrl+Home"},
  47.     {CTRL_PGUP,    "Ctrl+PgUp"},
  48.     {CTRL_BS,    "Ctrl+BS"},
  49.     {CTRL_END,    "Ctrl+End"},
  50.     {CTRL_PGDN,    "Ctrl+PgDn"},
  51.     {SHIFT_HT,    "Shift+Tab"},
  52.     {ALT_BS,    "Alt+BS"},
  53.     {ALT_DEL,   "Alt+Del"},
  54.     {SHIFT_DEL,    "Shift+Del"},
  55.     {SHIFT_INS,    "Shift+Ins"},
  56.     {CTRL_INS,    "Ctrl+Ins"},
  57.     {ALT_A,        "Alt+A"},
  58.     {ALT_B,        "Alt+B"},
  59.     {ALT_C,        "Alt+C"},
  60.     {ALT_D,        "Alt+D"},
  61.     {ALT_E,        "Alt+E"},
  62.     {ALT_F,        "Alt+F"},
  63.     {ALT_G,        "Alt+G"},
  64.     {ALT_H,        "Alt+H"},
  65.     {ALT_I,        "Alt+I"},
  66.     {ALT_J,        "Alt+J"},
  67.     {ALT_K,        "Alt+K"},
  68.     {ALT_L,        "Alt+L"},
  69.     {ALT_M,        "Alt+M"},
  70.     {ALT_N,        "Alt+N"},
  71.     {ALT_O,        "Alt+O"},
  72.     {ALT_P,        "Alt+P"},
  73.     {ALT_Q,        "Alt+Q"},
  74.     {ALT_R,        "Alt+R"},
  75.     {ALT_S,        "Alt+S"},
  76.     {ALT_T,        "Alt+T"},
  77.     {ALT_U,        "Alt+U"},
  78.     {ALT_V,        "Alt+V"},
  79.     {ALT_W,        "Alt+W"},
  80.     {ALT_X,        "Alt+X"},
  81.     {ALT_Y,        "Alt+Y"},
  82.     {ALT_Z,        "Alt+Z"},
  83.     {-1,        NULL}
  84. };
  85.